// src/main/java/com/neusoft/SPNursingHome/po/MealCalendarWithFood.java
package com.neusoft.SPNursingHome.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 继承自 MealCalendar，额外多了 foodName
 */
@TableName("meal_calendar")
public class MealCalendarWithFood extends MealCalendar {

    /** 非表中字段，用于存放关联查询出来的 food_name */
    @TableField(exist = false)
    private String foodName;

    @TableField(exist = false)
    private String foodType;

    public MealCalendarWithFood() {
        super();
    }

    public String getFoodType() {
        return foodType;
    }

    public void setFoodType(String foodType) {
        this.foodType = foodType;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }
}
